package com.zw.admin.server.utils;

import com.hikvision.artemis.sdk.ArtemisHttpUtil;
import com.hikvision.artemis.sdk.config.ArtemisConfig;
import net.sf.json.JSONObject;
import net.sf.json.JSONString;
import java.util.HashMap;
import java.util.Map;

public class Inter_test {
    //STEP1:设置平台参数
    final static String host = "172.29.125.60"; //平台(nginx)IP 和端口
    final static String appKey = "24736933"; //合作方 key
    final static String appSecret = "0b7w3MKU2aM16d0jWanY";//合作方 Secret
    //STEP2:设置 OpenAPI 接口的上下文
    final static String ARTEMIS_PATH = "/artemis";

    //STEP3:设置接口的 URI 地址
    final static String getdoorURLsApi = ARTEMIS_PATH + "/api/irds/v2/deviceResource/resources";  // 查找门禁行为列表
    final static String getPersonURLsApi = ARTEMIS_PATH + "/api/resource/v2/person/orgIndexCode/personList";  // 查找人员列表
    final static String getEventsURLsApi = ARTEMIS_PATH + "/api/acs/v2/door/events";  // 查询门禁点事件
    final static String getOrgURLsApi = ARTEMIS_PATH + "/api/resource/v1/org/orgList";  // 获取组织列表
    final static String getCardURLsApi = ARTEMIS_PATH + "/api/irds/v1/card/advance/cardList";  //获取卡片资源列表
    final static String getEquipURLsApi = ARTEMIS_PATH + "/api/resource/v2/acsDevice/search";  // 查询有权限的门禁设备列表

    //STEP4:设置参数提交方式
    final String contentType = "application/json";

    public String get_Door(int pageNo, int pageSize){
        // 查询门的indexcode等信息
        ArtemisConfig.host = host; //平台(nginx)IP 和端口
        ArtemisConfig.appKey = appKey; //合作方 key
        ArtemisConfig.appSecret =appSecret;//合作方 Secret

        Map<String, String> path = new HashMap<String, String>(2) {
            {
                put("https://", getdoorURLsApi);  //根据现场环境部署确认是 http 还是 https
            }
        };

        //STEP5:组装请求参数
        JSONObject jsonBody = new JSONObject();
        jsonBody.put("pageNo", pageNo);
        jsonBody.put("pageSize", pageSize);
        jsonBody.put("resourceType", "door");
        String body = jsonBody.toString();

        //STEP6:调用接口
        String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null,
                null, contentType , null);// post 请求 application/json 类型参数

        return result;
    }



    public String Person_Eve_By_Door(int pageNo, int pageSize, String start_time, String end_time){
        /*
         * 查询某一时间段人员的打开情况(所有们的，如果要查制定们加个doorIndexCodes)，如果要查制定人的用下面By_Person
         * */
//        String starttime =  Timetrans.timetran(start_time);
//        String endtime = Timetrans.timetran(end_time);

        ArtemisConfig.host = host; //平台(nginx)IP 和端口
        ArtemisConfig.appKey = appKey; //合作方 key
        ArtemisConfig.appSecret =appSecret;//合作方 Secret
        Map<String, String> path = new HashMap<String, String>(2) {
            {
                put("https://", getEventsURLsApi);
            }
        };


        JSONObject jsonBody = new JSONObject();
        jsonBody.put("pageNo", pageNo);
        jsonBody.put("pageSize", pageSize);
//        jsonBody.put("doorIndexCodes", doorIndexCodes);
        jsonBody.put("startTime", start_time);
        jsonBody.put("endTime", end_time);
        jsonBody.put("receiveStartTime", start_time);
        jsonBody.put("receiveEndTime", end_time);
        String body = jsonBody.toString();

        String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null,
                null, contentType , null);// post 请求 application/json 类型参数
        return result;

    }

    public String Get_Card(int pageNo, int pageSize){
        /*
        *获取卡片信息
         * */
        ArtemisConfig.host = host; //平台(nginx)IP 和端口
        ArtemisConfig.appKey = appKey; //合作方 key
        ArtemisConfig.appSecret =appSecret;//合作方 Secret
        Map<String, String> path = new HashMap<String, String>(2) {
            {
                put("https://", getCardURLsApi);
            }
        };

        JSONObject jsonBody = new JSONObject();
        jsonBody.put("pageNo", pageNo);
        jsonBody.put("pageSize", pageSize);
        String body = jsonBody.toString();

        String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null,
                null, contentType , null);// post 请求 application/json 类型参数
        return result;
    }


    public String Person_Eve_By_Person(int pageNo, int pageSize, String personName, String start_time, String end_time){
        /*
        * 查询某一时间段人员的打开情况
        * */
        String starttime =  new Timetrans().timetran(start_time);
        String endtime = new Timetrans().timetran(end_time);

        ArtemisConfig.host = host; //平台(nginx)IP 和端口
        ArtemisConfig.appKey = appKey; //合作方 key
        ArtemisConfig.appSecret =appSecret;//合作方 Secret
        Map<String, String> path = new HashMap<String, String>(2) {
            {
                put("https://", getEventsURLsApi);
            }
        };

        JSONObject jsonBody = new JSONObject();
        jsonBody.put("pageNo", pageNo);
        jsonBody.put("pageSize", pageSize);
        jsonBody.put("personName", personName);
        jsonBody.put("startTime", starttime);
        jsonBody.put("endTime", endtime);
        jsonBody.put("receiveStartTime", starttime);
        jsonBody.put("receiveEndTime", endtime);
        String body = jsonBody.toString();

        String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null,
                null, contentType , null);// post 请求 application/json 类型参数
        return result;
    }

    public String Search_org(int pageNo, int pageSize){
        //查询全部的部门架构和部门信息
        ArtemisConfig.host = host; //平台(nginx)IP 和端口
        ArtemisConfig.appKey = appKey; //合作方 key
        ArtemisConfig.appSecret =appSecret;//合作方 Secret
        Map<String, String> path = new HashMap<String, String>(2) {
            {
                put("https://", getOrgURLsApi);
            }
        };
        JSONObject jsonBody = new JSONObject();
        jsonBody.put("pageNo", pageNo);
        jsonBody.put("pageSize", pageSize);
        String body = jsonBody.toString();

        String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null,
                null, contentType , null);// post 请求 application/json 类型参数
        return result;
    }

    public String Get_Equip(int pageNo, int pageSize){
        // 获取所有门禁设备的信息
        ArtemisConfig.host = host; //平台(nginx)IP 和端口
        ArtemisConfig.appKey = appKey; //合作方 key
        ArtemisConfig.appSecret =appSecret;//合作方 Secret
        Map<String, String> path = new HashMap<String, String>(2) {
            {
                put("https://", getEquipURLsApi);
            }
        };
        JSONObject jsonBody = new JSONObject();
        jsonBody.put("pageNo", pageNo);
        jsonBody.put("pageSize", pageSize);

        String body = jsonBody.toString();

        String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null,
                null, contentType , null);// post 请求 application/json 类型参数
        return result;

    }

    public String Search_person(String orgIndexCode, int pageNo, int pageSize){
        /*
        * 输入组织号和组织名称,获得人事结构
        * */
        ArtemisConfig.host = host; //平台(nginx)IP 和端口
        ArtemisConfig.appKey = appKey; //合作方 key
        ArtemisConfig.appSecret =appSecret;//合作方 Secret
        Map<String, String> path = new HashMap<String, String>(2) {
            {
                put("https://", getPersonURLsApi);
            }
        };
        JSONObject jsonBody = new JSONObject();
        jsonBody.put("orgIndexCode", orgIndexCode);
        jsonBody.put("pageNo", pageNo);
        jsonBody.put("pageSize", pageSize);
        String body = jsonBody.toString();

        String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null,
                null, contentType , null);// post 请求 application/json 类型参数
        return result;
    }

}

//门禁设备json: {"code":"0","msg":"success","data":{"total":4,"pageNo":1,"pageSize":10,"list":[{"indexCode":"6305ea308b894b9b93785cd7a2df11cd","name":"右通道","resourceType":"acsDevice","devTypeCode":"201933568","devTypeDesc":"DS-K1T672MW","ip":"172.29.120.204","port":"8000","regionIndexCode":"root000000","treatyType":"hiksdk_net","capability":"@support_485@support_antisneak@support_card@support_cardtype@support_doorstatus@support_eventlink@support_face@support_finger@support_leadercard@support_m1cardEncrypt@support_multicard@support_person@support_readerverify@support_snapcapcfg@","cardCapacity":50000,"fingerCapacity":3000,"faceCapacity":50000,"doorCapacity":1,"netZoneId":"0","isCascade":0,"dataVersion":"0","createTime":"2020-09-15T15:45:46.490+08:00","updateTime":"2020-09-15T15:46:05.919+08:00","manufacturer":"hikvision","acsReaderVerifyModeAbility":"33584108","devSerialNum":"DS-K1T672MW20200616V030107CHE61483225","sort":20,"disOrder":20,"regionName":"根节点","regionPath":"@root000000@","regionPathName":"根节点"},{"indexCode":"4d2a0ac081b04dd9bb2980279c40004e","name":"左通道","resourceType":"acsDevice","devTypeCode":"201933568","devTypeDesc":"DS-K1T672MW","ip":"172.29.120.203","port":"8000","regionIndexCode":"root000000","treatyType":"hiksdk_net","capability":"@support_485@support_antisneak@support_card@support_cardtype@support_doorstatus@support_eventlink@support_face@support_finger@support_leadercard@support_m1cardEncrypt@support_multicard@support_person@support_readerverify@support_snapcapcfg@","cardCapacity":50000,"fingerCapacity":3000,"faceCapacity":50000,"doorCapacity":1,"netZoneId":"0","isCascade":0,"dataVersion":"0","createTime":"2020-09-15T15:45:19.615+08:00","updateTime":"2020-09-15T15:45:30.068+08:00","manufacturer":"hikvision","acsReaderVerifyModeAbility":"33584108","devSerialNum":"DS-K1T672MW20200616V030107CHE61483184","sort":18,"disOrder":18,"regionName":"根节点","regionPath":"@root000000@","regionPathName":"根节点"},{"indexCode":"b0f66c8c82234b14bcefbac02a7b45c7","name":"签退打卡","resourceType":"acsDevice","devTypeCode":"201933568","devTypeDesc":"DS-K1T672MW","ip":"172.29.120.202","port":"8000","regionIndexCode":"root000000","treatyType":"hiksdk_net","capability":"@support_485@support_antisneak@support_card@support_cardtype@support_doorstatus@support_eventlink@support_face@support_finger@support_leadercard@support_m1cardEncrypt@support_multicard@support_person@support_readerverify@support_snapcapcfg@","cardCapacity":50000,"fingerCapacity":3000,"faceCapacity":50000,"doorCapacity":1,"netZoneId":"0","isCascade":0,"dataVersion":"0","createTime":"2020-09-15T15:44:51.712+08:00","updateTime":"2020-09-15T15:45:02.235+08:00","manufacturer":"hikvision","acsReaderVerifyModeAbility":"33584108","devSerialNum":"DS-K1T672MW20200616V030107CHE61483214","sort":16,"disOrder":16,"regionName":"根节点","regionPath":"@root000000@","regionPathName":"根节点"},{"indexCode":"e3cf818926ab4c39be985af4c6e9c5a2","name":"签到打卡","resourceType":"acsDevice","devTypeCode":"201933568","devTypeDesc":"DS-K1T671TM-3XF","ip":"172.29.120.201","port":"8000","regionIndexCode":"root000000","treatyType":"hiksdk_net","capability":"@support_485@support_antisneak@support_card@support_cardtype@support_doorstatus@support_eventlink@support_face@support_finger@support_leadercard@support_m1cardEncrypt@support_multicard@support_person@support_readerverify@support_snapcapcfg@","cardCapacity":50000,"fingerCapacity":3000,"faceCapacity":50000,"doorCapacity":1,"netZoneId":"0","isCascade":0,"dataVersion":"0","createTime":"2020-09-15T15:44:02.652+08:00","updateTime":"2020-09-15T15:44:13.179+08:00","manufacturer":"hikvision","acsReaderVerifyModeAbility":"33584108","devSerialNum":"DS-K1T671TM-3XF20200629V020206CHE63011625","sort":14,"disOrder":14,"regionName":"根节点","regionPath":"@root000000@","regionPathName":"根节点"}]}}
//资讯部人员信息: {"code":"0","msg":"success","data":{"total":4,"pageNo":1,"pageSize":10,"list":[{"personId":"680165f2720b49629891909e32d68624","personName":"韩洪文","gender":1,"orgIndexCode":"d0f61243-6bbd-467b-a616-31f924ac54cd","certificateType":111,"certificateNo":"1","age":0,"marriaged":0,"lodge":0,"syncFlag":0,"pinyin":"hanhongwen","createTime":"2020-08-21T15:39:40.531+08:00","updateTime":"2020-08-21T15:39:40.531+08:00","orgPath":"@root000000@d0f61243-6bbd-467b-a616-31f924ac54cd@","orgPathName":"哈尔滨办公室/咨讯部","personPhoto":[{"serverIndexCode":"566c5de5-b4d9-47be-b246-0bb2b7addfc7","personPhotoIndexCode":"c2e2a5a6-b87c-41ae-bef4-406c2cc947bf","picUri":"/pic?=d96if305i145=o4e-ap5e18-6bf4183bae306bi8b1*=ids1*=idp9*=tdpe*m5i19=7999790*94z3i-s=03e30*l13dod1-cc5750d5"}]},{"personId":"46cec86c7041468298716fe4f2708dac","personName":"郭云峰·","gender":1,"orgIndexCode":"d0f61243-6bbd-467b-a616-31f924ac54cd","certificateType":111,"certificateNo":"2","age":0,"marriaged":0,"lodge":0,"syncFlag":0,"pinyin":"guoyunfeng·","createTime":"2020-08-21T15:39:40.531+08:00","updateTime":"2020-08-21T15:39:40.531+08:00","orgPath":"@root000000@d0f61243-6bbd-467b-a616-31f924ac54cd@","orgPathName":"哈尔滨办公室/咨讯部","personPhoto":[{"serverIndexCode":"566c5de5-b4d9-47be-b246-0bb2b7addfc7","personPhotoIndexCode":"58f663dd-191b-41e7-99ab-16dbfd5a1805","picUri":"/pic?=d96if305i145=o8e-ap0e18-4bf4183bae306bi8b1*=ids1*=idp3*=tdpe*m5i19=7695990*80z4i-s=03e32*l13dod1-cc5750d5"}]},{"personId":"bb5270034c714e6584cc2a3f4b8e9cf0","personName":"程艳波","gender":1,"orgIndexCode":"d0f61243-6bbd-467b-a616-31f924ac54cd","certificateType":111,"certificateNo":"3","age":0,"marriaged":0,"lodge":0,"syncFlag":0,"pinyin":"chengyanbo","createTime":"2020-08-21T15:39:40.531+08:00","updateTime":"2020-09-11T16:25:31.588+08:00","orgPath":"@root000000@d0f61243-6bbd-467b-a616-31f924ac54cd@","orgPathName":"哈尔滨办公室/咨讯部","personPhoto":[{"serverIndexCode":"566c5de5-b4d9-47be-b246-0bb2b7addfc7","personPhotoIndexCode":"85ec5b7a-0a43-4df7-b357-641a6b9072d5","picUri":"/pic?5dd0575cc-1dod31l*83e371i-z2e*1s6257918115m9ep=t=i1p*i=d1s*i=d3b*ibd03*ab8816fbe-83=34a-16o154pi5e3f=69i10="}]},{"personId":"7c5ac4bf85814717862eda819a9c61f3","personName":"孙大鹏","gender":1,"orgIndexCode":"d0f61243-6bbd-467b-a616-31f924ac54cd","certificateType":111,"certificateNo":"351","age":0,"marriaged":0,"lodge":0,"syncFlag":0,"pinyin":"sundapeng","createTime":"2020-08-27T13:12:09.392+08:00","updateTime":"2020-08-27T13:12:27.610+08:00","orgPath":"@root000000@d0f61243-6bbd-467b-a616-31f924ac54cd@","orgPathName":"哈尔滨办公室/咨讯部","personPhoto":[{"serverIndexCode":"566c5de5-b4d9-47be-b246-0bb2b7addfc7","personPhotoIndexCode":"44858bab-3b59-4b06-a210-ce6a20ff5883","picUri":"/pic?5dd0575cc-1dod31l*43e32=s-i0z35*3086978=51i5m*ep=t2p8i=d1s*i=d2b*ibd03*ab8816fbe-83e34a-88o154pi5e3f=69i10="}]}]}}
//门禁打卡事件: {"code":"0","msg":"success","data":{"pageSize":10,"list":[{"eventId":"f947ad89-a2fc-4a27-bf1b-60e61fca5e40","eventName":"acs.acs.eventType.successFace","eventTime":"2020-09-15T18:05:29+08:00","personId":"46cec86c7041468298716fe4f2708dac","cardNo":null,"personName":"郭云峰·","orgIndexCode":"d0f61243-6bbd-467b-a616-31f924ac54cd","orgName":"哈尔滨办公室/资讯部","doorName":"签到打卡_门_1","doorIndexCode":"c64f3bb992dd420e9a0acf7066c606be","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":196893,"inAndOutType":1,"readerDevIndexCode":"ea43d9b57bb94ecbb9428d73ddb2494f","readerDevName":"读卡器_1","devIndexCode":"e3cf818926ab4c39be985af4c6e9c5a2","devName":"签到打卡","identityCardUri":"","receiveTime":"2020-09-15T18:05:23.135+08:00","jobNo":null,"studentId":null,"certNo":"2"},{"eventId":"6b1be8df-5e36-43c2-8b2d-c38042423e53","eventName":"acs.acs.eventType.successFace","eventTime":"2020-09-15T18:05:22+08:00","personId":"46cec86c7041468298716fe4f2708dac","cardNo":null,"personName":"郭云峰·","orgIndexCode":"d0f61243-6bbd-467b-a616-31f924ac54cd","orgName":"哈尔滨办公室/资讯部","doorName":"签退打卡_门_1","doorIndexCode":"e8fddf4827134d3da08f827d51a1b434","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":196893,"inAndOutType":1,"readerDevIndexCode":"9b6268a943eb44b9bed30edb5a28ed84","readerDevName":"读卡器_1","devIndexCode":"b0f66c8c82234b14bcefbac02a7b45c7","devName":"签退打卡","identityCardUri":"","receiveTime":"2020-09-15T18:04:38.290+08:00","jobNo":null,"studentId":null,"certNo":"2"},{"eventId":"c406a0f9-426d-4ac3-9033-dcbd7b905915","eventName":"acs.acs.eventType.failForFace","eventTime":"2020-09-15T17:45:30+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"签退打卡_门_1","doorIndexCode":"e8fddf4827134d3da08f827d51a1b434","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":197151,"inAndOutType":1,"readerDevIndexCode":"9b6268a943eb44b9bed30edb5a28ed84","readerDevName":"读卡器_1","devIndexCode":"b0f66c8c82234b14bcefbac02a7b45c7","devName":"签退打卡","identityCardUri":"","receiveTime":"2020-09-15T17:44:47.149+08:00","jobNo":null,"studentId":null,"certNo":null},{"eventId":"82a859dd-65b9-4b69-afb4-2bb32f6838ea","eventName":"acs.acs.eventType.failForFace","eventTime":"2020-09-15T17:45:26+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"签退打卡_门_1","doorIndexCode":"e8fddf4827134d3da08f827d51a1b434","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":197151,"inAndOutType":1,"readerDevIndexCode":"9b6268a943eb44b9bed30edb5a28ed84","readerDevName":"读卡器_1","devIndexCode":"b0f66c8c82234b14bcefbac02a7b45c7","devName":"签退打卡","identityCardUri":"","receiveTime":"2020-09-15T17:44:43.128+08:00","jobNo":null,"studentId":null,"certNo":null},{"eventId":"8c3cbae6-1fff-486d-974d-08176ce33afe","eventName":"acs.acs.eventType.failForFace","eventTime":"2020-09-15T17:45:22+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"签退打卡_门_1","doorIndexCode":"e8fddf4827134d3da08f827d51a1b434","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":197151,"inAndOutType":1,"readerDevIndexCode":"9b6268a943eb44b9bed30edb5a28ed84","readerDevName":"读卡器_1","devIndexCode":"b0f66c8c82234b14bcefbac02a7b45c7","devName":"签退打卡","identityCardUri":"","receiveTime":"2020-09-15T17:44:39.103+08:00","jobNo":null,"studentId":null,"certNo":null},{"eventId":"a6eedea2-4703-4507-95ef-a8138a7ca006","eventName":"acs.acs.eventType.failForFace","eventTime":"2020-09-15T17:45:13+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"签退打卡_门_1","doorIndexCode":"e8fddf4827134d3da08f827d51a1b434","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":197151,"inAndOutType":1,"readerDevIndexCode":"9b6268a943eb44b9bed30edb5a28ed84","readerDevName":"读卡器_1","devIndexCode":"b0f66c8c82234b14bcefbac02a7b45c7","devName":"签退打卡","identityCardUri":"","receiveTime":"2020-09-15T17:44:29.079+08:00","jobNo":null,"studentId":null,"certNo":null},{"eventId":"af375155-6088-439c-963c-55cef126bae4","eventName":"acs.acs.eventType.infoOpenDoorByButton","eventTime":"2020-09-15T17:31:23+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"签退打卡_门_1","doorIndexCode":"e8fddf4827134d3da08f827d51a1b434","doorRegionIndexCode":"root000000","picUri":"","svrIndexCode":"","eventType":198916,"inAndOutType":-1,"readerDevIndexCode":null,"readerDevName":null,"devIndexCode":"b0f66c8c82234b14bcefbac02a7b45c7","devName":"签退打卡","identityCardUri":"","receiveTime":"2020-09-15T17:30:38.857+08:00","jobNo":null,"studentId":null,"certNo":null},{"eventId":"9e3a5530-b2bc-4669-8aa5-f47fe82ef6b5","eventName":"acs.acs.eventType.failForFace","eventTime":"2020-09-15T17:05:02+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"左通道_门_1","doorIndexCode":"1c88270d63484d859ca7b60aaa42ac04","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":197151,"inAndOutType":1,"readerDevIndexCode":"fca13ad7dce846b2b100053a1c9dc8d4","readerDevName":"读卡器_1","devIndexCode":"4d2a0ac081b04dd9bb2980279c40004e","devName":"左通道","identityCardUri":"","receiveTime":"2020-09-15T17:04:26.889+08:00","jobNo":null,"studentId":null,"certNo":null},{"eventId":"f032d105-a3ed-4b96-959c-8e494f57947a","eventName":"acs.acs.eventType.failForFace","eventTime":"2020-09-15T17:04:51+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"左通道_门_1","doorIndexCode":"1c88270d63484d859ca7b60aaa42ac04","doorRegionIndexCode":"root000000","picUri":"no-pcnvr","svrIndexCode":"","eventType":197151,"inAndOutType":1,"readerDevIndexCode":"fca13ad7dce846b2b100053a1c9dc8d4","readerDevName":"读卡器_1","devIndexCode":"4d2a0ac081b04dd9bb2980279c40004e","devName":"左通道","identityCardUri":"","receiveTime":"2020-09-15T17:04:15.879+08:00","jobNo":null,"studentId":null,"certNo":null},{"eventId":"b10009e4-d9ac-448c-8e9c-b3a659d74237","eventName":"acs.acs.eventType.infoOpenDoorByButton","eventTime":"2020-09-15T16:49:50+08:00","personId":null,"cardNo":null,"personName":null,"orgIndexCode":null,"orgName":null,"doorName":"签退打卡_门_1","doorIndexCode":"e8fddf4827134d3da08f827d51a1b434","doorRegionIndexCode":"root000000","picUri":"","svrIndexCode":"","eventType":198916,"inAndOutType":-1,"readerDevIndexCode":null,"readerDevName":null,"devIndexCode":"b0f66c8c82234b14bcefbac02a7b45c7","devName":"签退打卡","identityCardUri":"","receiveTime":"2020-09-15T16:49:05.790+08:00","jobNo":null,"studentId":null,"certNo":null}],"total":340,"totalPage":34,"pageNo":1}}
